<%@page pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/script-tag" prefix="script"%>
<s:set var="user" value="#session['cuser']"/>
<!DOCTYPE html>
<html>
	<head>
		<title>${initParam.WebAppName}</title>
		<jsp:include page="../meta.jsp"></jsp:include>
		<!-- 已知需要添加公共资源（其他资源根据需要添加，不需要的css,js待清理）begin -->
		<link rel="stylesheet" type="text/css" href="css/themes/base/jquery.ui.all.css">
		<link id='favicon' rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
		<link rel="stylesheet" type="text/css" href="css/pagination.css"/>
		<link rel="stylesheet" type="text/css" href="css/wp.css">
		<link rel="stylesheet" type="text/css" href="css/jquery.table.css">
		<link rel="stylesheet" type="text/css" href="js/dhtml/dhtmlxtree.css">
		<link rel="stylesheet" type="text/css" href="css/jquery.treeTable.css">
		<link rel="stylesheet" type="text/css" href="js/kendoui/styles/kendo.default.css">
		<link rel="stylesheet" type="text/css" href="js/kendoui/styles/kendo.common.css">
		<link rel="stylesheet" type="text/css" href="css/jquery.Jcrop.min.css">
		<link rel="stylesheet" type="text/css" href="js/ztree/demo.css">
		<link rel="stylesheet" type="text/css" href="js/ztree/zTreeStyle.css">
		<!-- 百度地图 -->
		<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=790411bda172ff9496825d6ea740661d"></script>
		
		<!-- 高德地图 -->
        <script language="javascript" src="http://webapi.amap.com/maps?v=1.3&key=e4e68a5cf6df32793a5c7f00e7d17253"></script>
		
		<script type="text/javascript" src="js/jquery-1.8.0.js"></script>
		<script type="text/javascript" src="js/kendoui/js/kendo.web.js"></script>
		<script type="text/javascript" src="js/kendoui/js/cultures/kendo.culture.zh-CN.js"></script>
		<script type="text/javascript" src="js/ui/jquery.ui.core.js" ></script>
		<script type="text/javascript" src="js/ui/jquery-ui-1.8.23.custom.js" ></script>
		<script type="text/javascript" src="js/ui/i18n/jquery-ui-i18n.js" ></script>
		<script type="text/javascript" src="js/ui/jquery.ui.dialog.js" ></script>
		<script type="text/javascript"	src="${pageContext.request.contextPath}/bettery/js/template.js"></script>
		<script type="text/javascript" src="js/jquery.table.js"></script>
		<script type="text/javascript" src="js/jquery.form.js"></script>
		<script type="text/javascript" src="js/jquery.validate.js"></script>
		<script type="text/javascript" src="js/messages_zh.js"></script>
		<script type="text/javascript" src="js/jquery.pagination.js"></script>
		<script type="text/javascript" src="js/ajaxfileupload.js"></script>
		<script type="text/javascript" src="js/common.js" charset="utf-8"></script>
		 <script type="text/javascript" src="js/dhtml/dhtmlxcommon.js"></script>
		<script type="text/javascript" src="js/dhtml/dhtmlxtree.js"></script>
		<script type="text/javascript" src="js/jquery.tree.dialog.js"></script>
		<script type="text/javascript" src="js/jquery.Jcrop.min.js"></script>
		
		<script type="text/javascript" src="js/highcharts/highcharts.js"></script>
		
		<!-- Load common js -->
		<script:inport folder="js/custom" />
		
		<script type="text/javascript" src="js/ztree/jquery.ztree-core.3.5.js"></script>
		<script type="text/javascript" src="js/ztree/jquery.ztree.excheck-3.5.min.js"></script>
		
		
		<style>
.myDialog .ui-icon-closethick {
	display: none;
}
</style>
	</head>
	<body>
		<div class='header'>
			<div class='logo'>
				&nbsp;${initParam.WebAppName}
			</div>
			<div class='userinfo' id='userinfo' rid='${user.role.id}'>
				欢迎您，${user.userid}&nbsp;|&nbsp;<a href='#' onclick="profile()">修改密码</a>&nbsp;|&nbsp;<a href='logout.do'>退出</a>
			</div>
		</div>
		<div class='mainBody'>
			<div class="container">
				<div id="tabs">
						<ul class='topMenu'>
						<li  style="margin-left: 320px;"></li>
						<s:iterator value='roots'>
						<li id='li${id}'>
							<em class='icon'></em><a href="#tab-${id}">${title}</a>
						</li>
						</s:iterator>
					</ul>
					<s:iterator value='roots'>
						<div id='tab-${id}'>
							<div class='leftPanel'>
								<ul>
									<s:iterator value='subMenus'>
										<li onclick="${event}">
											<div class='caption'><span class='title'>${title}</span><a class='icon'></a></div>
										
										<ul class='subMenu'>
										<s:iterator value='subMenus'>
											<li onclick="${event}"><a>${title}</a></li>
										</s:iterator>
										</ul>
										</li>
									</s:iterator>
								</ul>
							</div>
						</div>
					</s:iterator>
					<div class='rightPanel' id='mainForm'>
					
					</div>
				</div>
			</div>
		</div>
	
	<div id='commonDialog' title="提示"></div>
	<div id='profileDialog' title="提示"></div>
	<div id='msgDialog' title="提示"></div>
	<div id="treeDialog"  style="display: none"></div>
	<div id='enterpriseEditDialog' style="display: none"></div>
	<div id='smsDialog'  style="display: none"></div>
	<div id='commonDialogDiv' style="display: none"></div>
	<div id='tips' style="display: none">
	</div>
	
	</body>
</html>
